package de.mhus.lib.mandala.text;

import de.mhus.lib.mandala.Response;


public class CheckboxField extends Field {

	@Override
	protected void doRender(Response response) {
		response.startTag("input", "form-control", getTagAttributes(),
				"type", "checkbox",
				"disabled", isEnabled() ? null : "disabled"
				);
		response.endTag("input");
	}
	
}
